package com.busibuilding.administrate.area.service;

import java.util.List;

import com.busibuilding.administrate.area.ICityCommand;
import com.busibuilding.administrate.area.vo.CityCVO;
import com.busibuilding.common.config.sqlmap.entities.CityVO;
import com.busibuilding.common.exceptions.ServiceException;
import com.busibuilding.common.vo.ICommonVO;
/**
 * Class Name: CityService.java
 * Description: 
 * @author Lin Yanjun
 * @version 1.0
 * @since 1.0
 * Date: 2010-2-25
 */
public interface CityService extends ICityCommand{
	int createCity(ICommonVO vo) throws ServiceException;
	int updateCity(ICommonVO vo) throws ServiceException;
	int deleteCity(ICommonVO vo) throws ServiceException;
	CityVO getCity(ICommonVO vo) throws ServiceException;
	List<CityCVO> searchCity(ICommonVO vo) throws ServiceException;
	List<CityCVO> searchCityByPagination(ICommonVO vo) throws ServiceException;
	int getRecordsCount(ICommonVO vo) throws ServiceException;
}
